//el-menu颜色
$activeColor: #FFF;
// $activeBgColor: #EBF3FF;
$activeBgColor: rgb(116, 199, 146);
$hoverColor: #FFF;
$defaultColor: #31373D;
$defaultIconColor: #BBBDBF;

.avue-sidebar {
    user-select: none;
    position: relative;
    width: 208px;
    height: 100%;
    // padding-top: 64px;
    position: relative;
    transition: width .2s;
    box-sizing: border-box;
    // background: #fff;
    &--tip{
        width:90%;
        height: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        position: absolute;
        top:5px;
        left:5%;
        color:#ccc;
        z-index: 2;
        text-align: center;
        font-size: 14px;
        background-color: rgba(0,0,0,.4);
    }
    .el-scrollbar__wrap {
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .el-menu-item,
    .el-submenu__title {
        font-size: 14px;
        height: 54px;
        line-height: 54px;
       
       
    }
    .el-menu-item {
        padding: 0 20px;
        i {
            font-size: 18px !important;
            margin-right: 10px !important;
            color: $defaultColor;
        }
        span{
            color: $defaultColor;
            font-family: PingFang SC-Medium;
            font-size: 18px;
            font-weight: bold;
        }
       
        &.is-active {
            background-color:rgb(116, 199, 146);
            span,
            i {
                color:$activeColor;
            }
            &:hover {
                color: #fff;
            }
        }
        &:hover {
            background-color:rgb(116, 199, 146);
            color:$hoverColor;
            span,
            i {
                color:$hoverColor;
            }
        }
    }
    .el-submenu__title {
        i {
            font-size: 18px !important;
            margin-right: 10px !important;
            color: #000;
        }
        .el-submenu__icon-arrow {
            color: $defaultColor;
            font-size: 12px !important;
        }
        span{
            font-size: 18px;
            font-weight: bolder;
            font-family: PingFang SC-Medium;
            color: $defaultColor;
            

        }
        &:hover {
            i,
            span {
                color:$hoverColor;
            }
            background-color:$activeBgColor;
        }
    }
    //二级整体
    .el-menu.el-menu--inline {
        padding: 0 20px;
    }
    .el-submenu .el-menu-item {
        height: 40px !important;
        line-height: 40px !important;
        // text-indent: 24px;
        padding: 0 !important;
        width: 100%;
        min-width: 0px;
        border-radius: 4px;
        i {
            margin-left: 16px;
            margin-right: 10px;
            color: $defaultIconColor;
            font-size: 14px !important;
            font-weight: normal;

        }
        span {
            font-size: 12px;
            font-family: PingFang SC-Medium;
            font-weight: normal;
        }
        span{
            color: $defaultColor;
        }
        &.is-active {
            background:$activeBgColor;
           
            span,
            i {
                color:$activeColor
            }
            &:hover {
                background-color:$activeBgColor;
            }
        }
        &:hover {
            background-color:$activeBgColor;
            span,
            i {
                color:$hoverColor
            }
        }
    }
    .el-submenu.is-active {
        .el-submenu__title {
            span,
            i {
                color:$defaultColor
            }
            &:hover {
                i, span {
                    color: #fff;
                }
            }
        }
    }

    .breadcrumb {
        height: 48px;
        width: 100%;
        border-top: 1px solid  #E6E8EB;
        display: flex;
        align-items: center;
        padding-left: 22px;
        position: absolute;
        bottom: 0;
        left: 0;
    }
}
